<div class="flow">
  <%=render :partial => 'friendnav'%> 
  <div id="capped">
  <% for friend in @friends %>

      <div class="capped-img">
        <%= friend_drop(friend) %>
      </div>

      <div class="capped-title" id="capped<%=friend.login%>" style="display:none;">
        <p>
            <%=(link_to _('Edit'), :action => 'edit', :id => friend) if (friend.id == current_friend.id || current_friend.in_domain?('admin'))%>
            <strong><%=friend.login%></strong>
            | <%=link_to _('About'), :action => 'show', :id => friend%>
            | <%= link_to _('My Pages'), fp_url(:friend=>friend.login, :page=>1) %></td>
        </p>
        <p><%=friend.selfdesc%></p>
        <p><a href='http://<%=friend.website%>' alt='<%=friend.website%>'><%=friend.website%></a></p>
      </div>

  <% end %>
  </div>
</div>

  <% content_for('sidebar') do -%>
     <%group= { :id => 'family', :title => _('My EternalFamily'), :spinner => 'family',
                 :tog_target => 'imgup', :tog_url_action => 'family', :tog_url_id => current_friend.id,
                 :tog_complete_js => "new Effect.Highlight('familyul', {duration:'1.0', endcolor:'28ff2d'})",
                 :list_partial => 'common/friendship',
                 :list => @friendships,
                 :help_text => _('Drag and drop friends here.'),
                 :drop_url_action => 'familyadd',
                 :drop_accept => 'familydrop' }
     %>
     <%=render :partial => 'common/group', :locals => {:group => group}%>
  <% end -%>